package com.zhf.dao;

import com.zhf.entity.Student;

import java.util.List;

public interface StudentDao {
    int queryCount();

    List<Student> queryAllStudent(int begin, int size);

    Student queryStudentById(String id);

    boolean insertStudent(Student student);

    boolean updateStudent(Student student);

    List<Student> queryStudentByIds(String[] studentIds);

    int deleteStudentByIds(String[] studentIds);

    List<Student> queryStudentByIdAndName(String queryCode, String queryName);

    List<Student> queryStudentByClassNos(String[] classNos);
}
